<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>InfGtkCertificateDialog</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.0">
<link rel="home" href="index.html" title="libinfgtk-0.4 Reference Manual">
<link rel="up" href="ch01.html" title="libinfgtk API">
<link rel="prev" href="InfGtkCertificateManager.html" title="InfGtkCertificateManager">
<link rel="next" href="InfGtkCertificateView.html" title="InfGtkCertificateView">
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="InfGtkCertificateManager.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">libinfgtk-0.4 Reference Manual</th>
<td><a accesskey="n" href="InfGtkCertificateView.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#InfGtkCertificateDialog.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#InfGtkCertificateDialog.description" class="shortcut">Description</a>
                   | 
                  <a href="#InfGtkCertificateDialog.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#InfGtkCertificateDialog.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
                   | 
                  <a href="#InfGtkCertificateDialog.properties" class="shortcut">Properties</a>
</td></tr>
</table>
<div class="refentry" title="InfGtkCertificateDialog">
<a name="InfGtkCertificateDialog"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="InfGtkCertificateDialog.top_of_page"></a>InfGtkCertificateDialog</span></h2>
<p>InfGtkCertificateDialog</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="InfGtkCertificateDialog.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">                    <a class="link" href="InfGtkCertificateDialog.html#InfGtkCertificateDialog-struct" title="InfGtkCertificateDialog">InfGtkCertificateDialog</a>;
enum                <a class="link" href="InfGtkCertificateDialog.html#InfGtkCertificateDialogFlags" title="enum InfGtkCertificateDialogFlags">InfGtkCertificateDialogFlags</a>;
<a class="link" href="InfGtkCertificateDialog.html" title="InfGtkCertificateDialog"><span class="returnvalue">InfGtkCertificateDialog</span></a> * <a class="link" href="InfGtkCertificateDialog.html#inf-gtk-certificate-dialog-new" title="inf_gtk_certificate_dialog_new ()">inf_gtk_certificate_dialog_new</a>
                                                        (<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkWindow.html"><span class="type">GtkWindow</span></a> *parent</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkDialog.html#GtkDialogFlags"><span class="type">GtkDialogFlags</span></a> dialog_flags</code></em>,
                                                         <em class="parameter"><code><a class="link" href="InfGtkCertificateDialog.html#InfGtkCertificateDialogFlags" title="enum InfGtkCertificateDialogFlags"><span class="type">InfGtkCertificateDialogFlags</span></a> certificate_flags</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *hostname</code></em>,
                                                         <em class="parameter"><code><a href="../libinfinity-0.4/libinfinity-0.4-InfCertificateChain.html#InfCertificateChain"><span class="type">InfCertificateChain</span></a> *certificate_chain</code></em>);
</pre>
</div>
<div class="refsect1" title="Object Hierarchy">
<a name="InfGtkCertificateDialog.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
   +----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
         +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html">GtkObject</a>
               +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html">GtkWidget</a>
                     +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkContainer.html">GtkContainer</a>
                           +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkBin.html">GtkBin</a>
                                 +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkWindow.html">GtkWindow</a>
                                       +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkDialog.html">GtkDialog</a>
                                             +----InfGtkCertificateDialog
</pre>
</div>
<div class="refsect1" title="Implemented Interfaces">
<a name="InfGtkCertificateDialog.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
InfGtkCertificateDialog implements
 AtkImplementorIface and  <a href="http://library.gnome.org/devel/gtk/unstable/gtk-gtkbuildable.html#GtkBuildable">GtkBuildable</a>.</p>
</div>
<div class="refsect1" title="Properties">
<a name="InfGtkCertificateDialog.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a class="link" href="InfGtkCertificateDialog.html#InfGtkCertificateDialog--certificate-chain" title='The "certificate-chain" property'>certificate-chain</a>"        <a href="../libinfinity-0.4/libinfinity-0.4-InfCertificateChain.html#InfCertificateChain"><span class="type">InfCertificateChain</span></a>*  : Read / Write
  "<a class="link" href="InfGtkCertificateDialog.html#InfGtkCertificateDialog--certificate-flags" title='The "certificate-flags" property'>certificate-flags</a>"        <span class="type">InfCertificateDialogFlags</span>  : Read / Write
  "<a class="link" href="InfGtkCertificateDialog.html#InfGtkCertificateDialog--hostname" title='The "hostname" property'>hostname</a>"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
</pre>
</div>
<div class="refsect1" title="Description">
<a name="InfGtkCertificateDialog.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" title="Details">
<a name="InfGtkCertificateDialog.details"></a><h2>Details</h2>
<div class="refsect2" title="InfGtkCertificateDialog">
<a name="InfGtkCertificateDialog-struct"></a><h3>InfGtkCertificateDialog</h3>
<pre class="programlisting">typedef struct _InfGtkCertificateDialog InfGtkCertificateDialog;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="enum InfGtkCertificateDialogFlags">
<a name="InfGtkCertificateDialogFlags"></a><h3>enum InfGtkCertificateDialogFlags</h3>
<pre class="programlisting">typedef enum _InfGtkCertificateDialogFlags {
  INF_GTK_CERTIFICATE_DIALOG_CERT_NOT_ACTIVATED      = 1 &lt;&lt; 0,
  INF_GTK_CERTIFICATE_DIALOG_CERT_EXPIRED            = 1 &lt;&lt; 1,
  INF_GTK_CERTIFICATE_DIALOG_CERT_HOSTNAME_MISMATCH  = 1 &lt;&lt; 2,
  INF_GTK_CERTIFICATE_DIALOG_CERT_INVALID            = 1 &lt;&lt; 3,
  INF_GTK_CERTIFICATE_DIALOG_CERT_ISSUER_NOT_TRUSTED = 1 &lt;&lt; 4,
  INF_GTK_CERTIFICATE_DIALOG_CERT_CHANGED            = 1 &lt;&lt; 5,
  /* only valid when CERT_CHANGED is also set */
  INF_GTK_CERTIFICATE_DIALOG_CERT_OLD_EXPIRED        = 1 &lt;&lt; 6
} InfGtkCertificateDialogFlags;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="inf_gtk_certificate_dialog_new ()">
<a name="inf-gtk-certificate-dialog-new"></a><h3>inf_gtk_certificate_dialog_new ()</h3>
<pre class="programlisting"><a class="link" href="InfGtkCertificateDialog.html" title="InfGtkCertificateDialog"><span class="returnvalue">InfGtkCertificateDialog</span></a> * inf_gtk_certificate_dialog_new
                                                        (<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkWindow.html"><span class="type">GtkWindow</span></a> *parent</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkDialog.html#GtkDialogFlags"><span class="type">GtkDialogFlags</span></a> dialog_flags</code></em>,
                                                         <em class="parameter"><code><a class="link" href="InfGtkCertificateDialog.html#InfGtkCertificateDialogFlags" title="enum InfGtkCertificateDialogFlags"><span class="type">InfGtkCertificateDialogFlags</span></a> certificate_flags</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *hostname</code></em>,
                                                         <em class="parameter"><code><a href="../libinfinity-0.4/libinfinity-0.4-InfCertificateChain.html#InfCertificateChain"><span class="type">InfCertificateChain</span></a> *certificate_chain</code></em>);</pre>
<p>
Creates a new <a class="link" href="InfGtkCertificateDialog.html" title="InfGtkCertificateDialog"><span class="type">InfGtkCertificateDialog</span></a>. A <a class="link" href="InfGtkCertificateDialog.html" title="InfGtkCertificateDialog"><span class="type">InfGtkCertificateDialog</span></a> shows
warnings about a server's certificate to a user, for example when the
issuer is not trusted or the certificate is expired.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
<td>Parent <a href="http://library.gnome.org/devel/gtk/unstable/GtkWindow.html"><span class="type">GtkWindow</span></a> of the dialog.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>dialog_flags</code></em> :</span></p></td>
<td>Flags for the dialog, see <a href="http://library.gnome.org/devel/gtk/unstable/GtkDialog.html#GtkDialogFlags"><span class="type">GtkDialogFlags</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>certificate_flags</code></em> :</span></p></td>
<td>What certificate warnings to show, see
<a class="link" href="InfGtkCertificateDialog.html#InfGtkCertificateDialogFlags" title="enum InfGtkCertificateDialogFlags"><span class="type">InfGtkCertificateDialogFlags</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>hostname</code></em> :</span></p></td>
<td>The host name of the server that provides the certificate.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>certificate_chain</code></em> :</span></p></td>
<td>The certificate chain provided by the server.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A New <a class="link" href="InfGtkCertificateDialog.html" title="InfGtkCertificateDialog"><span class="type">InfGtkCertificateDialog</span></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" title="Property Details">
<a name="InfGtkCertificateDialog.property-details"></a><h2>Property Details</h2>
<div class="refsect2" title='The "certificate-chain" property'>
<a name="InfGtkCertificateDialog--certificate-chain"></a><h3>The <code class="literal">"certificate-chain"</code> property</h3>
<pre class="programlisting">  "certificate-chain"        <a href="../libinfinity-0.4/libinfinity-0.4-InfCertificateChain.html#InfCertificateChain"><span class="type">InfCertificateChain</span></a>*  : Read / Write</pre>
<p>The certificate chain to show in the dialog.</p>
</div>
<hr>
<div class="refsect2" title='The "certificate-flags" property'>
<a name="InfGtkCertificateDialog--certificate-flags"></a><h3>The <code class="literal">"certificate-flags"</code> property</h3>
<pre class="programlisting">  "certificate-flags"        <span class="type">InfCertificateDialogFlags</span>  : Read / Write</pre>
<p>What warnings about the certificate to display.</p>
</div>
<hr>
<div class="refsect2" title='The "hostname" property'>
<a name="InfGtkCertificateDialog--hostname"></a><h3>The <code class="literal">"hostname"</code> property</h3>
<pre class="programlisting">  "hostname"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
<p>Host name of the server from which the certificate is.</p>
<p>Default value: NULL</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.15</div>
</body>
</html>